<!-- HTML header for doxygen 1.8.18-->
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <meta name="generator" content="Doxygen 1.8.16" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>LEAF: tNeuron</title>
    <link href="tabs.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jquery.js"></script>
    <script type="text/javascript" src="dynsections.js"></script>
    <script type="text/javascript" src="../js/iframeResizer.contentWindow.min.js"></script>
    <!-- <script src="/js/template.js"></script> -->
     <link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script> 
    <link href="doxygen.css" rel="stylesheet" type="text/css" />
    <link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
    <!-- <link rel="stylesheet" href="/css/tachyons.css" type="text/css" /> -->
</head>
<body class="bg-washed-green black-70 ph0 sans-serif" onload="iframeResizePipe()">
    <div>
        <!-- do not remove this div, it is closed by doxygen! -->
        <div id="titlearea">
            <table cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                    </tr>
                </tbody>
            </table>
        </div>
        <!-- end header part -->
    </div>
</body>
</html><!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">tNeuron<div class="ingroups"><a class="el" href="group__oscillators.html">Oscillators</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Model of a neuron, adapted to act as an oscillator.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ga39c8ad8b35bf050f69b21ca34b56cc01"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga39c8ad8b35bf050f69b21ca34b56cc01">NeuronMode</a> { <a class="el" href="group__tneuron.html#gga39c8ad8b35bf050f69b21ca34b56cc01acedc049c7a14e2b30b266d88d46b3f76">NeuronNormal</a>, 
<a class="el" href="group__tneuron.html#gga39c8ad8b35bf050f69b21ca34b56cc01a0f637d7316b91b66dfea6ef832b1d178">NeuronTanh</a>, 
<a class="el" href="group__tneuron.html#gga39c8ad8b35bf050f69b21ca34b56cc01acdbcb725e463ccad89f2384b1254ab0c">NeuronAaltoShaper</a>
 }</td></tr>
<tr class="separator:ga39c8ad8b35bf050f69b21ca34b56cc01"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaaf7fb0a50cde5d02085bae982f355d98"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#gaaf7fb0a50cde5d02085bae982f355d98">tNeuron_init</a> (tNeuron *const neuron, <a class="el" href="struct_l_e_a_f.html">LEAF</a> *const leaf)</td></tr>
<tr class="memdesc:gaaf7fb0a50cde5d02085bae982f355d98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a tNeuron to the default mempool of a <a class="el" href="struct_l_e_a_f.html" title="Struct for an instance of LEAF.">LEAF</a> instance.  <a href="group__tneuron.html#gaaf7fb0a50cde5d02085bae982f355d98">More...</a><br /></td></tr>
<tr class="separator:gaaf7fb0a50cde5d02085bae982f355d98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64ec0be41011ffc7fdea5c03359a032c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga64ec0be41011ffc7fdea5c03359a032c">tNeuron_initToPool</a> (tNeuron *const neuron, tMempool *const mempool)</td></tr>
<tr class="memdesc:ga64ec0be41011ffc7fdea5c03359a032c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a tNeuron to a specified mempool.  <a href="group__tneuron.html#ga64ec0be41011ffc7fdea5c03359a032c">More...</a><br /></td></tr>
<tr class="separator:ga64ec0be41011ffc7fdea5c03359a032c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e7767ba34797b6e41cd47fee21a674b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga8e7767ba34797b6e41cd47fee21a674b">tNeuron_free</a> (tNeuron *const neuron)</td></tr>
<tr class="memdesc:ga8e7767ba34797b6e41cd47fee21a674b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Free a tNeuron from its mempool.  <a href="group__tneuron.html#ga8e7767ba34797b6e41cd47fee21a674b">More...</a><br /></td></tr>
<tr class="separator:ga8e7767ba34797b6e41cd47fee21a674b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e37f3a7de15a04e697f52cb72a5b094"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga3e37f3a7de15a04e697f52cb72a5b094">tNeuron_reset</a> (tNeuron *const neuron)</td></tr>
<tr class="memdesc:ga3e37f3a7de15a04e697f52cb72a5b094"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the neuron model.  <a href="group__tneuron.html#ga3e37f3a7de15a04e697f52cb72a5b094">More...</a><br /></td></tr>
<tr class="separator:ga3e37f3a7de15a04e697f52cb72a5b094"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacbbb031eee9c36e21e24e54b43290bc0"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#gacbbb031eee9c36e21e24e54b43290bc0">tNeuron_tick</a> (tNeuron *const neuron)</td></tr>
<tr class="memdesc:gacbbb031eee9c36e21e24e54b43290bc0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tick a tNeuron oscillator.  <a href="group__tneuron.html#gacbbb031eee9c36e21e24e54b43290bc0">More...</a><br /></td></tr>
<tr class="separator:gacbbb031eee9c36e21e24e54b43290bc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad69adcd45e4dabc947fabbc9baf7d849"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#gad69adcd45e4dabc947fabbc9baf7d849">tNeuron_setMode</a> (tNeuron *const neuron, <a class="el" href="group__tneuron.html#ga39c8ad8b35bf050f69b21ca34b56cc01">NeuronMode</a> mode)</td></tr>
<tr class="memdesc:gad69adcd45e4dabc947fabbc9baf7d849"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the tNeuron shaping mode.  <a href="group__tneuron.html#gad69adcd45e4dabc947fabbc9baf7d849">More...</a><br /></td></tr>
<tr class="separator:gad69adcd45e4dabc947fabbc9baf7d849"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad683dcc57adbc4e94baedae51005f5a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#gad683dcc57adbc4e94baedae51005f5a9">tNeuron_setCurrent</a> (tNeuron *const neuron, float current)</td></tr>
<tr class="memdesc:gad683dcc57adbc4e94baedae51005f5a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current.  <a href="group__tneuron.html#gad683dcc57adbc4e94baedae51005f5a9">More...</a><br /></td></tr>
<tr class="separator:gad683dcc57adbc4e94baedae51005f5a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga933040791b44ff8d7ada7aa825c48935"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga933040791b44ff8d7ada7aa825c48935">tNeuron_setK</a> (tNeuron *const neuron, float K)</td></tr>
<tr class="memdesc:ga933040791b44ff8d7ada7aa825c48935"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the potassium value.  <a href="group__tneuron.html#ga933040791b44ff8d7ada7aa825c48935">More...</a><br /></td></tr>
<tr class="separator:ga933040791b44ff8d7ada7aa825c48935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0813977adaef8fa375c5b0f5e59908b6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga0813977adaef8fa375c5b0f5e59908b6">tNeuron_setL</a> (tNeuron *const neuron, float L)</td></tr>
<tr class="memdesc:ga0813977adaef8fa375c5b0f5e59908b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the chloride value.  <a href="group__tneuron.html#ga0813977adaef8fa375c5b0f5e59908b6">More...</a><br /></td></tr>
<tr class="separator:ga0813977adaef8fa375c5b0f5e59908b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1969098711805e2b8a68bc115bb113d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga1969098711805e2b8a68bc115bb113d5">tNeuron_setN</a> (tNeuron *const neuron, float N)</td></tr>
<tr class="memdesc:ga1969098711805e2b8a68bc115bb113d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the sodium value.  <a href="group__tneuron.html#ga1969098711805e2b8a68bc115bb113d5">More...</a><br /></td></tr>
<tr class="separator:ga1969098711805e2b8a68bc115bb113d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad67b6b0f22c03de1995e07bbf422c111"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#gad67b6b0f22c03de1995e07bbf422c111">tNeuron_setC</a> (tNeuron *const neuron, float C)</td></tr>
<tr class="memdesc:gad67b6b0f22c03de1995e07bbf422c111"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the calcium value.  <a href="group__tneuron.html#gad67b6b0f22c03de1995e07bbf422c111">More...</a><br /></td></tr>
<tr class="separator:gad67b6b0f22c03de1995e07bbf422c111"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0f4241ab21570d8accef6cdb468f24c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga0f4241ab21570d8accef6cdb468f24c1">tNeuron_setV1</a> (tNeuron *const neuron, float V1)</td></tr>
<tr class="memdesc:ga0f4241ab21570d8accef6cdb468f24c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the V1 value.  <a href="group__tneuron.html#ga0f4241ab21570d8accef6cdb468f24c1">More...</a><br /></td></tr>
<tr class="separator:ga0f4241ab21570d8accef6cdb468f24c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7bc12acf05b0763e80945808cf76102d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga7bc12acf05b0763e80945808cf76102d">tNeuron_setV2</a> (tNeuron *const neuron, float V2)</td></tr>
<tr class="memdesc:ga7bc12acf05b0763e80945808cf76102d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the V2 value.  <a href="group__tneuron.html#ga7bc12acf05b0763e80945808cf76102d">More...</a><br /></td></tr>
<tr class="separator:ga7bc12acf05b0763e80945808cf76102d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga49e7f07a28b9e12d1fd9ed9dda6fd88d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga49e7f07a28b9e12d1fd9ed9dda6fd88d">tNeuron_setV3</a> (tNeuron *const neuron, float V3)</td></tr>
<tr class="memdesc:ga49e7f07a28b9e12d1fd9ed9dda6fd88d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the V3 value.  <a href="group__tneuron.html#ga49e7f07a28b9e12d1fd9ed9dda6fd88d">More...</a><br /></td></tr>
<tr class="separator:ga49e7f07a28b9e12d1fd9ed9dda6fd88d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga92c05fe0216beaf2a430bf45898c46d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tneuron.html#ga92c05fe0216beaf2a430bf45898c46d5">tNeuron_setTimeStep</a> (tNeuron *const neuron, float timestep)</td></tr>
<tr class="memdesc:ga92c05fe0216beaf2a430bf45898c46d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the time step of the model.  <a href="group__tneuron.html#ga92c05fe0216beaf2a430bf45898c46d5">More...</a><br /></td></tr>
<tr class="separator:ga92c05fe0216beaf2a430bf45898c46d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>Model of a neuron, adapted to act as an oscillator. </p>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ga39c8ad8b35bf050f69b21ca34b56cc01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga39c8ad8b35bf050f69b21ca34b56cc01">&#9670;&nbsp;</a></span>NeuronMode</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="group__tneuron.html#ga39c8ad8b35bf050f69b21ca34b56cc01">NeuronMode</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="gga39c8ad8b35bf050f69b21ca34b56cc01acedc049c7a14e2b30b266d88d46b3f76"></a>NeuronNormal&#160;</td><td class="fielddoc"><p>Normal operation. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga39c8ad8b35bf050f69b21ca34b56cc01a0f637d7316b91b66dfea6ef832b1d178"></a>NeuronTanh&#160;</td><td class="fielddoc"><p>Tanh voltage shaping. </p>
</td></tr>
<tr><td class="fieldname"><a id="gga39c8ad8b35bf050f69b21ca34b56cc01acdbcb725e463ccad89f2384b1254ab0c"></a>NeuronAaltoShaper&#160;</td><td class="fielddoc"><p>Aalto voltage shaping. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gaaf7fb0a50cde5d02085bae982f355d98"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaf7fb0a50cde5d02085bae982f355d98">&#9670;&nbsp;</a></span>tNeuron_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_init </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_l_e_a_f.html">LEAF</a> *const&#160;</td>
          <td class="paramname"><em>leaf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize a tNeuron to the default mempool of a <a class="el" href="struct_l_e_a_f.html" title="Struct for an instance of LEAF.">LEAF</a> instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the tNeuron to initialize. </td></tr>
    <tr><td class="paramname">leaf</td><td>A pointer to the leaf instance. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga64ec0be41011ffc7fdea5c03359a032c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga64ec0be41011ffc7fdea5c03359a032c">&#9670;&nbsp;</a></span>tNeuron_initToPool()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_initToPool </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">tMempool *const&#160;</td>
          <td class="paramname"><em>mempool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize a tNeuron to a specified mempool. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the tNeuron to initialize. </td></tr>
    <tr><td class="paramname">mempool</td><td>A pointer to the tMempool to use. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8e7767ba34797b6e41cd47fee21a674b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8e7767ba34797b6e41cd47fee21a674b">&#9670;&nbsp;</a></span>tNeuron_free()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_free </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Free a tNeuron from its mempool. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the tNeuron to free. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3e37f3a7de15a04e697f52cb72a5b094"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3e37f3a7de15a04e697f52cb72a5b094">&#9670;&nbsp;</a></span>tNeuron_reset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_reset </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the neuron model. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gacbbb031eee9c36e21e24e54b43290bc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacbbb031eee9c36e21e24e54b43290bc0">&#9670;&nbsp;</a></span>tNeuron_tick()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float tNeuron_tick </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tick a tNeuron oscillator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The ticked sample as a float from -1 to 1. </dd></dl>

</div>
</div>
<a id="gad69adcd45e4dabc947fabbc9baf7d849"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad69adcd45e4dabc947fabbc9baf7d849">&#9670;&nbsp;</a></span>tNeuron_setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setMode </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__tneuron.html#ga39c8ad8b35bf050f69b21ca34b56cc01">NeuronMode</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the tNeuron shaping mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">mode</td><td>The mode to set the tNeuron to. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gad683dcc57adbc4e94baedae51005f5a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad683dcc57adbc4e94baedae51005f5a9">&#9670;&nbsp;</a></span>tNeuron_setCurrent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setCurrent </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>current</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the current. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">current</td><td>The new current. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga933040791b44ff8d7ada7aa825c48935"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga933040791b44ff8d7ada7aa825c48935">&#9670;&nbsp;</a></span>tNeuron_setK()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setK </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>K</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the potassium value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">K</td><td>The new potassium. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0813977adaef8fa375c5b0f5e59908b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0813977adaef8fa375c5b0f5e59908b6">&#9670;&nbsp;</a></span>tNeuron_setL()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setL </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>L</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the chloride value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">L</td><td>The new chloride value. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga1969098711805e2b8a68bc115bb113d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1969098711805e2b8a68bc115bb113d5">&#9670;&nbsp;</a></span>tNeuron_setN()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setN </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>N</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the sodium value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">N</td><td>The new sodium value. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gad67b6b0f22c03de1995e07bbf422c111"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad67b6b0f22c03de1995e07bbf422c111">&#9670;&nbsp;</a></span>tNeuron_setC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setC </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>C</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the calcium value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">C</td><td>The new calcium. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga0f4241ab21570d8accef6cdb468f24c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f4241ab21570d8accef6cdb468f24c1">&#9670;&nbsp;</a></span>tNeuron_setV1()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setV1 </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>V1</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the V1 value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">V1</td><td>The new V1. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga7bc12acf05b0763e80945808cf76102d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7bc12acf05b0763e80945808cf76102d">&#9670;&nbsp;</a></span>tNeuron_setV2()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setV2 </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>V2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the V2 value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">V2</td><td>The new V2. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga49e7f07a28b9e12d1fd9ed9dda6fd88d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga49e7f07a28b9e12d1fd9ed9dda6fd88d">&#9670;&nbsp;</a></span>tNeuron_setV3()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setV3 </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>V3</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the V3 value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">V3</td><td>The new V3. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga92c05fe0216beaf2a430bf45898c46d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga92c05fe0216beaf2a430bf45898c46d5">&#9670;&nbsp;</a></span>tNeuron_setTimeStep()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tNeuron_setTimeStep </td>
          <td>(</td>
          <td class="paramtype">tNeuron *const&#160;</td>
          <td class="paramname"><em>neuron</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>timestep</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the time step of the model. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">neuron</td><td>A pointer to the relevant tNeuron. </td></tr>
    <tr><td class="paramname">timestep</td><td>The new time step.</td></tr>
  </table>
  </dd>
</dl>
<p>Shaping modes for tNeuron output. </p>

</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.18-->
<!-- start footer part -->
</body>
</html>
